package com.mes.cloud.api.dto.request.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 角色表
 *
 * @author wxm
 * @version 2019-08-01 15:33:26
 * @email xiaomin.wu1@pactera.com
 */
@Data
public class SysRoleRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = false)
    private String id;

    @ApiModelProperty(value = "角色名称", required = false)
    @NotNull(message = "roleName不能为空")
    private String roleName;

    @ApiModelProperty(value = "角色类型", required = false)
    @NotNull(message = "type不能为空")
    private String type;

    @ApiModelProperty(value = "分类", required = false)
    @NotNull(message = "categories不能为空")
    private String categories;

    @ApiModelProperty(value = "备注", required = false)
    private String remark;

}
